From: Eli Zaretskii Date: Sat, 6 Jan 2007 21:50:14 +0000 (+0000) Subject: (abbreviate-file-name): Doc fix. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~2949 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=6f725ede63f0357dc69c4a3c619efe089cb66b40;p=emacs.git (abbreviate-file-name): Doc fix. --- diff --git a/lisp/files.el b/lisp/files.el index 7a9c1b4b9da..80df0d898d3 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1289,8 +1289,9 @@ Choose the buffer's name using `generate-new-buffer-name'." (defun abbreviate-file-name (filename) "Return a version of FILENAME shortened using `directory-abbrev-alist'. -This also substitutes \"~\" for the user's home directory and -removes automounter prefixes (see the variable `automount-dir-prefix')." +This also substitutes \"~\" for the user's home directory (unless the +home directory is a root directory) and removes automounter prefixes +\(see the variable `automount-dir-prefix')." ;; Get rid of the prefixes added by the automounter. (save-match-data (if (and automount-dir-prefix